import random
robot = random.randint(1,3)
princess = int(input('剪刀 1，石头 2，布 3，请输入1-3：'))
result = ''
if (princess == 1 and robot == 3) or (princess == 2 and robot == 1) or (princess == 3 and robot == 2):
    print('你赢了！')
elif princess == robot:
    print('平局')
else:
    result = '你输了！'
print('我想的是',robot,result)
